<?php get_header(); ?>

	<div id="wrapper">
    	<div id="content">

			<?php if (have_posts()) : while (have_posts()) : the_post(); ?>
            
			<div id="post-<?php the_ID(); ?>" class="<?php sandbox_post_class() ?>">
				<h2 class="page-title"><?php the_title(); ?></h2>

				<div class="entry-content">
					<?php the_content() ?>

					<?php wp_link_pages("\t\t\t\t\t<div class='page-link'>".__('Pages: '), "</div>\n", 'number'); ?>

					<?php edit_post_link(__('Edit'),'<span class="edit-link">','</span>') ?>
				</div>

			</div><!-- .post -->

			<?php if ( get_post_custom_values('comments') ) comments_template() // Add a key+value of "comments" to enable comments on this page ?>

			<?php endwhile; endif; ?>

		</div><!-- #content -->
	</div><!-- #wrapper -->

<?php get_sidebar(); ?>

<?php get_footer(); ?>